package com.zhangtai.modules.vo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;


/**
 * 角色
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2020-08-10 15:34:13
 */
@Data
public class RoleVo implements Serializable {
	private static final long serialVersionUID = 1L;

			/**
		 * 
		 */
				@TableId
		@JsonDeserialize(using = LongJsonDeserializer.class)
		@JsonSerialize(using = LongJsonSerializer.class)
				@ApiModelProperty(value = "角色id")
			private Long roleId;
			/**
		 * 英文名称
		 */
			@ApiModelProperty(value = "英文名称")
			private String roleName;
			/**
		 * 备注
		 */
			@ApiModelProperty(value = "备注")
			private String remark;
			/**
		 * 中文名称
		 */
			@ApiModelProperty(value = "中文名称")
			private String name;
	
}
